import { TargetType } from "../reporting.service";

enum CompanyTypeEnum {
  Public = 1,
  Private = 2,
  Comprehensive = 4,
  Core = 8,
  Combined = 16
}

enum ComparativeGroupEnum {
  PeerGroup = 0,
  IndustryGroup = 1
}

export enum ExportType {
  Excel,
  CSV
}

export enum FilterStatus {
  Draft,
  Active
}

export enum FilterType {
  Private = 0,
  Shared = 1,
  Standard = 2
}

export class FilterModel {
  public accountId: string;
  public associatedUserId: string;
  public companyType?: CompanyTypeEnum;
  public companyTypeName: string;
  public companyTypePublicOrPrivate?: number;
  public comparativeGroup: ComparativeGroupEnum;
  public country: string;
  public countryName: string;
  public createdAt: string;
  public exportType?: ExportType
  public id: string;
  public isCurrentUserOwner: boolean;
  public isFavorite: boolean;
  public lastSaved: string;
  public name: string;
  public ownerUserId: string;
  public peerGroup: string;
  public peerGroupName: string;
  public portfolioId: string;
  public portfolioName: string;
  public publishDate: string;
  public referenceUniverseId: string;
  public referenceUniverseName: string;
  public region: string;
  public regionName: string;
  public researchType?: number;
  public shared: boolean;
  public status: FilterStatus;
  public targetType: TargetType;
  public type: FilterType;
  public unPublishDate: string;
  public universeId: string;
  public universeName: string;
  public weightMatrixId: string;
  public weightMatrixName: string;
  public isSourceForClone: boolean;
  public selectedPortfolioUniverse: any;
  public indicatorId: string;
}
